package com.kxf.androidtestdemo.java;


import java.lang.reflect.ParameterizedType;

public class Test1{
    public static void main(String[] args) {
        Interface3 interface3 = new Interface3<DataT>(){

            @Override
            public void test(DataT dataT) {

            }
        };
        System.out.println(((ParameterizedType)interface3.getClass().getGenericSuperclass()).getActualTypeArguments()[0]);
    }
}
